package com.bwie.bargain.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 *
 *
 * @author gy
 * @email gy@gmail.com
 * @date 2022-07-05 09:11:06
 */
@Data
@TableName("tb_bargain")
public class BargainEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * ID
	 */
	@TableId
	private Integer bargainId;
	/**
	 * 底价
	 */
	private String bargainFloor;
	/**
	 * 活动开始时间
	 */
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date bargainStart;
	/**
	 * 活动结束时间
	 */
	@JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date bargainEnd;
	/**
	 * 砍价分享标题
	 */
	private String bargainTitle;
	/**
	 * 每刀金额
	 */
	private String bargainPrice;
	/**
	 * 活动分享描述
	 */
	private String bargainDescribe;

	private String bargainImg;

	private Integer shopId;

	private Double bargainPrices;

}
